Re: [NTG-context] How to define section with midaligned number and midaligned text?

2016-08-09 Thread Lukáš Procházka
... How easy! Thank you. Lukas On Tue, 09 Aug 2016 22:50:05 +0200, Wolfgang Schuster <schuster.wolfg...@gmail.com> wrote: Lukáš Procházka <mailto:l...@pontex.cz> 9. August 2016 um 22:43 Hello, I need to produce a \section with midaligned number and midaligned text bellow the

Re: [NTG-context] How to define section with midaligned number and midaligned text?

2016-08-09 Thread Wolfgang Schuster
Lukáš Procházka <mailto:l...@pontex.cz> 9. August 2016 um 22:43 Hello, I need to produce a \section with midaligned number and midaligned text bellow the number, like: |<- text width -->| " I. Section Bla bla ... " I tried

[NTG-context] How to define section with midaligned number and midaligned text?

2016-08-09 Thread Lukáš Procházka
Hello, I need to produce a \section with midaligned number and midaligned text bellow the number, like: |<- text width -->| " I. Section Bla bla ... " I tried this: \define[2]\Sec{\midaligned{#1.}\midaligned{#2}} \s

[NTG-context] Footnote with midaligned text

2014-09-01 Thread Francisco Gracia
As the following example shows, just trying to add a footnote to a midaligned sentence is not that easy: either the footnote index is (dis)placed to the right margin or the footnote body does not show at its proper place (at the end of the page). Is there a way to make both things fit? Regards

Re: [NTG-context] Footnote with midaligned text

2014-09-01 Thread Wolfgang Schuster
Am 01.09.2014 um 09:04 schrieb Francisco Gracia fgragu...@gmail.com: As the following example shows, just trying to add a footnote to a midaligned sentence is not that easy: either the footnote index is (dis)placed to the right margin or the footnote body does not show at its proper place

[NTG-context] \centerline vs. \midaligned vs. \startalignment[middle]

2013-06-26 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, there are several similar commands to produce text (or another object) to be centered on the line. What are differences (or intended usage) among \centerline, \midaligned, \startalignment[middle]? (NB: \centerline has no its-own page on wiki, but it is used at several places in wiki

Re: [NTG-context] \centerline vs. \midaligned vs. \startalignment[middle]

2013-06-26 Thread Wolfgang Schuster
Am 26.06.2013 um 14:07 schrieb Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz: Hello, there are several similar commands to produce text (or another object) to be centered on the line. What are differences (or intended usage) among \centerline, \midaligned, \startalignment

Re: [NTG-context] \centerline vs. \midaligned vs. \startalignment[middle]

2013-06-26 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, thanks for explanation. I also wrote a sample code which should typeset a midaligned table via Lua using tabulate. But I'm not able to achieve the goal - what am I doing wrong? \starttext T \startluacode local f = function() context.starttabulate{|rw(2cm)|rw(2cm

Re: [NTG-context] \centerline vs. \midaligned vs. \startalignment[middle]

2013-06-26 Thread Wolfgang Schuster
Am 26.06.2013 um 15:00 schrieb Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz: Hello, thanks for explanation. I also wrote a sample code which should typeset a midaligned table via Lua using tabulate. But I'm not able to achieve the goal - what am I doing wrong? Use

Re: [NTG-context] \centerline vs. \midaligned vs. \startalignment[middle]

2013-06-26 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, On Wed, 26 Jun 2013 15:10:43 +0200, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Use the solution in the following mail which deals with the same problem: http://www.ntg.nl/pipermail/ntg-context/2013/073795.html Wolfgang the following code seems to work: ...

Re: [NTG-context] \centerline vs. \midaligned vs. \startalignment[middle]

2013-06-26 Thread Wolfgang Schuster
Am 26.06.2013 um 15:30 schrieb Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz: Hello, On Wed, 26 Jun 2013 15:10:43 +0200, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Use the solution in the following mail which deals with the same problem:

Re: [NTG-context] tabulate \midaligned

2012-11-29 Thread luigi scarso
On Thu, Nov 29, 2012 at 8:11 AM, Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz wrote: Hello, the \start/stop-tabulate doesn't work inside \midaligned: \def\T{% \starttabulate[|r|l|] \NC c \NC centered \NC \AR \NC l \NC left aligned \NC \AR \NC r \NC right aligned

Re: [NTG-context] tabulate \midaligned

2012-11-29 Thread Procházka Lukáš Ing . - Pontex s . r . o .
... Thanks, it works! Best regards, Lukas On Thu, 29 Nov 2012 09:05:38 +0100, luigi scarso luigi.sca...@gmail.com wrote: On Thu, Nov 29, 2012 at 8:11 AM, Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz wrote: Hello, the \start/stop-tabulate doesn't work inside \midaligned

[NTG-context] tabulate \midaligned

2012-11-28 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, the \start/stop-tabulate doesn't work inside \midaligned: \def\T{% \starttabulate[|r|l|] \NC c \NC centered \NC \AR \NC l \NC left aligned \NC \AR \NC r \NC right aligned \NC \AR \stoptabulate } \starttext \T % This is OK \midaligned{\T} % This fails \stoptext

Re: [NTG-context] textbackground and midaligned

2006-05-19 Thread Hans Hagen
Aditya Mahajan wrote: I encountered a very strange problem. The very presence of \definetextbackground changed the meaning of \midaligned (and \rightaligned). Attached are the minimal example that illustrate the problem. The first file, nobackground.tex has no background and works

Re: [NTG-context] textbackground and midaligned

2006-05-19 Thread Aditya Mahajan
On Fri, 19 May 2006, Hans Hagen wrote: Aditya Mahajan wrote: I encountered a very strange problem. The very presence of \definetextbackground changed the meaning of \midaligned (and \rightaligned). Attached are the minimal example that illustrate the problem. The first file, nobackground.tex

Re: [NTG-context] typing midaligned

2006-05-09 Thread Peter Münster
On Mon, 8 May 2006, Hans Hagen wrote: ? wrote: On Sun, 7 May 2006, Hans Hagen wrote: ? wrote: On Sat, 6 May 2006, Hans Hagen wrote: you mean that you want centered verbatim? Yes! A very nice solution would be: \starttyping[location=middle] or

Re: [NTG-context] typing midaligned

2006-05-09 Thread Peter Münster
On Tue, 9 May 2006, Hans Hagen wrote: ? wrote: I don't understand, it's still not centred... Or do you mean, I have to put the typing into a box, measure the width of the box, and then calculate the right margin ((\textwidth - \typingwidth) / 2) ? indeed this is teh only way

Re: [NTG-context] typing midaligned

2006-05-08 Thread Peter Münster
On Sun, 7 May 2006, Hans Hagen wrote: ? wrote: On Sat, 6 May 2006, Hans Hagen wrote: you mean that you want centered verbatim? Yes! A very nice solution would be: \starttyping[location=middle] or \setuptyping[location=middle] \starttext \setuptyping

Re: [NTG-context] typing midaligned

2006-05-08 Thread Hans Hagen
� wrote: On Sun, 7 May 2006, Hans Hagen wrote: ? wrote: On Sat, 6 May 2006, Hans Hagen wrote: you mean that you want centered verbatim? Yes! A very nice solution would be: \starttyping[location=middle] or \setuptyping[location=middle]

Re: [NTG-context] typing midaligned

2006-05-07 Thread Hans Hagen
� wrote: On Sat, 6 May 2006, Hans Hagen wrote: you mean that you want centered verbatim? Yes! A very nice solution would be: \starttyping[location=middle] or \setuptyping[location=middle] \starttext \setuptyping

Re: [NTG-context] typing midaligned

2006-05-06 Thread Taco Hoekwater
Peter Münster wrote: Hello, such things are really easy and straightforward with LaTeX (parbox and minipage), but with ConTeXt I have still a lot of difficulties. This is what I do to align some typing in the middle: \starttext \input tufte

Re: [NTG-context] typing midaligned

2006-05-06 Thread Hans Hagen
Taco Hoekwater wrote: Peter M�nster wrote: Hello, such things are really easy and straightforward with LaTeX (parbox and minipage), but with ConTeXt I have still a lot of difficulties. This is what I do to align some typing in the middle: \starttext \input tufte

Re: [NTG-context] typing midaligned

2006-05-06 Thread Peter Münster
On Sat, 6 May 2006, Hans Hagen wrote: you mean that you want centered verbatim? Yes! A very nice solution would be: \starttyping[location=middle] or \setuptyping[location=middle] Cheers, Peter -- http://pmrb.free.fr/contact/ ___ ntg-context mailing

[NTG-context] typing midaligned

2006-05-05 Thread Peter Münster
Hello, such things are really easy and straightforward with LaTeX (parbox and minipage), but with ConTeXt I have still a lot of difficulties. This is what I do to align some typing in the middle: \starttext \input tufte \setuptyping[before=\vskip-\lineheight,after=\vskip-0.13\lineheight]

Re: [NTG-context] midaligned tabulate?

2004-01-08 Thread Willi Egger
Hi Patrick, I would try to place this in the \placefloat environment \placetable[here,middle][] {centered table} {\starttabulate your actual table ... \stoptabulate} Cheers Willi Patrick Gundlach wrote: Hi, I just wonder how to center a table

[NTG-context] Re: midaligned tabulate?

2004-01-08 Thread Patrick Gundlach
Hello Willi, I would try to place this in the \placefloat environment hmm, but I don't want it to float nor do I need a caption. \placetable[here,middle][] {centered table} {\starttabulate your actual table ... \stoptabulate} Patrick -- Es wird kein Wunder geschehen

Re: [NTG-context] midaligned tabulate?

2004-01-08 Thread Hans Hagen
At 09:03 08/01/2004, you wrote: Hi Patrick, I would try to place this in the \placefloat environment \placetable[here,middle][] {centered table} {\starttabulate your actual table ... \stoptabulate} or: \definefloat[centered][table] \setupfloat[centered][default={none}]

[NTG-context] Re: midaligned tabulate?

2004-01-08 Thread Patrick Gundlach
Hello Hans, \definefloat[centered][table] \setupfloat[centered][default={none}] would this ever float (I don't want it to). rest looks fine. Patrick ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context

[NTG-context] midaligned tabulate?

2004-01-07 Thread Patrick Gundlach
Hi, I just wonder how to center a table -- \starttext \startalignment[middle] this is centered? \stopalignment \startalignment[middle] \starttabulate[|l|l|] \FL \NC Platz 1--12 \NC Block A\NC\NR \NC Platz 7--18 \NC Block B\NC\NR \NC Platz